package com.example.pathprotectsystem.utils;

public class RQILevelUtil {
    public static String getLevel(double x){
        if(x>=4.10&&x<=4.98)return "A";
        if(x>=3.60&&x<4.10)return "B";
        if(x>=2.50&&x<3.60)return "C";
        return "D";
    }
}
